/**
 * @author scylla
 * @version V1.0
 * @Project echo-java-base
 * @Title 副本管理者实例
 * @Description *
 * @Package concurrent.mthread.synchronizeCodeBlock
 * @Since 2021/8/18 2:48 下午
 */
package concurrent.mthread.synchronizeCodeBlock;

public class PairManager1 extends PairManager{


    @Override
    synchronized void increment() {
        p.incrementX();
        p.incrementY();
        store(getPair());
    }
}
